<div class="row">
    <div class="col-lg-8">
        <div class="panel m-b-none" >
            <div class='panel-heading'>
                <div class='row'>
                    <div class='col-lg-12'>
                        Choose the default currency to use for contributions
                    </div>
                </div>
            </div>
            <div class="panel-body m-b-none">
                <form action="<?php echo $this->Html->url(array('action' => 'save_settings', 'save_default_currency')); ?>" method ="post" id="currency-form" class="form form-horizontal">
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="form-group">
                                <div class="col-lg-2 control-label">
                                    Currency:
                                </div>
                                <div class="col-lg-10 controls">
                                    <select id="default_currency" class="form-control inline input-s-lg">
                                        <?php
                                            foreach($currencies_list as $key => $value){
                                                $selected = '';
                                                if($default_currency_value == $key){
                                                    $selected = 'selected';
                                                }
                                                ?>
                                                <option value="<?php echo $key; ?>" <?php echo $selected; ?>><?php echo $value; ?></option>
                                        <?php
                                            }
                                        ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="form-group m-t-lg">
                        <div class="col-lg-2 control-label">
                            &nbsp;
                        </div>
                        <div class="col-lg-10 controls p-sm" id="contributions_form_actions_btn">
                            <input type="button" id="save_default_currency"  class="btn btn-sm btn-info" value="Save Changes" />
                            <input type="button" class="btn btn-sm btn-white" value="Cancel" />
                        </div>
                        <div class="col-lg-10 controls p-sm" id="contributions_settings_loader" style="display: none">
                            <i class="fa fa-spinner fa fa-spin fa-2x"></i>
                            &nbsp; &nbsp;
                            Saving Please Wait ...

                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>